Skip to content

Scribe#2

Open
joshribakoff wants to merge 5 commits intomainfrom
scribe
Open

Scribe#2
joshribakoff wants to merge 5 commits intomainfrom
scribe

Conversation

@joshribakoff
Copy link
Owner

No description provided.

joshribakoff and others added 5 commits December 15, 2025 18:37
- Extracts TypeScript/JavaScript code blocks from markdown
- Executes code and checks exit codes for pass/fail
- Parallel execution with configurable concurrency
- TTY detection for interactive vs CI output
- Vitest-style progress display with spinners

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Replace child process spawning with in-process execution:
- Use esbuild transform for TypeScript transpilation
- Execute code in vm sandbox with captured console output
- Reduces test time from ~62s to ~0.26s

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use commander for CLI argument parsing
- Make path argument required (like ESLint/Prettier)
- Add IO interface for testability (mock stdout/stderr)
- Add vitest with 8 unit tests using mock IO
- Fix parser to handle info strings with 'scribe' marker

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove scribe marker requirement - all JS/TS blocks tested by default
- Add nocheck marker to skip specific blocks (```ts nocheck)
- Add vitest.config.ts to exclude dist folder from tests

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…sk writes

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant